package com.lglbc.day1;

/**
 * @Description TODO
 * @Author 乐哥聊编程
 * @Date 2022/11/16 22:30
 */
public class TestStack {
    public int add(int a, int b) {
        try {
            if (a==0){
                throw new RuntimeException();
            }
        } catch (RuntimeException e) {
            e.printStackTrace();
        }
        div();
        int c = a+b;
        return c;
    }

    public int div(){
        return 4;
    }
}
